<%@ page language="java" contentType="text/html; charset=utf-8" %>
<jsp:useBean id="rs" class="weaver.conn.RecordSet" scope="page"/>
<%@ page import="com.alibaba.fastjson.JSONObject" %>
<%@ page import="weaver.general.Util" %>
<%
    JSONObject jsonData = new JSONObject();
    rs.executeQuery("select count(id) from view_custom_newdoc");
    rs.next();
    jsonData.put("count", Util.getIntValue(rs.getString(1)));
    out.print(jsonData.toJSONString());
%>
